package com.dong.pointviewpager.config

import android.content.Context
import android.graphics.Color
import com.dong.pointviewpager.constant.DEFAULT_POINT_BOTTOM
import com.dong.pointviewpager.constant.DEFAULT_POINT_DISTANCE
import com.dong.pointviewpager.constant.DEFAULT_POINT_RADIUS
import com.dong.pointviewpager.utils.DensityUtils

/**
 * @description: 轮播图配置
 * @author dong
 * @date 2021/12/16 13:41
 */
class PointViewConfig(val context: Context) {

    var nfColor = Color.WHITE
    var fColor = Color.RED
    var distance = DensityUtils.dp2px(context, DEFAULT_POINT_DISTANCE.toFloat())
    var radius = DensityUtils.dp2px(context, DEFAULT_POINT_RADIUS.toFloat())
    var disbottom = DensityUtils.dp2px(context, DEFAULT_POINT_BOTTOM.toFloat())
}